package com.hsck.order.kds.base.isnoam.network

import com.google.gson.annotations.SerializedName


data class ResultWrapper<T>(
    @SerializedName(value = "data", alternate = ["rows"])
    val data: T? = null,
    val total: Int = 0,
    //true:去登录
    val isLogin: Boolean = false,
    //true刷新当前界面所有接口数据
    val isRefresh: Boolean = false,
    val isSuccess: Boolean = false,
    val isLoading: Boolean = false,
    val error: Throwable? = null
)